projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
492469a
)
Fix updating the widget accessible description when using its tooltip
author
Colomban Wendling
<cwendling@hypra.fr>
Mon, 20 Feb 2017 16:39:40 +0000
(17:39 +0100)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 10 Dec 2017 02:28:47 +0000
(21:28 -0500)
We need to notify ATK the description changed when the tooltip text associated
with the widget changes and gtk_widget_accessible_get_description() would use
it as the description.
https://bugzilla.gnome.org/show_bug.cgi?id=779009
gtk/a11y/gtkwidgetaccessible.c
patch
|
blob
|
history
diff --git
a/gtk/a11y/gtkwidgetaccessible.c
b/gtk/a11y/gtkwidgetaccessible.c
index ffa42a278a10f2a04fc402645576c0e92e66a8b9..3b44abaa267743b439989398538c3bab16aa7857 100644
(file)
--- a/
gtk/a11y/gtkwidgetaccessible.c
+++ b/
gtk/a11y/gtkwidgetaccessible.c
@@
-483,6
+483,9
@@
gtk_widget_accessible_notify_gtk (GObject *obj,
{
gtk_widget_accessible_update_tooltip (GTK_WIDGET_ACCESSIBLE (atk_obj),
widget);
+
+ if (atk_obj->description == NULL)
+ g_object_notify (G_OBJECT (atk_obj), "accessible-description");
return;
}
else if (g_strcmp0 (pspec->name, "visible") == 0)